package com.school.hjt.schoolclasscard.model;

import android.webkit.WebView;

import com.school.hjt.schoolclasscard.BaseApplication;
import com.school.hjt.schoolclasscard.db.CardDao;
import com.school.hjt.schoolclasscard.db.SchArticle;

import java.util.List;

/**
 * Created by xqx on 2018/1/27.
 * 学校动态model
 */

public class DongFModel {
    public List<SchArticle> getSchArticle(){
        BaseApplication.getDaoInstant().clear();

        return CardDao.querySchArticle();
    }
}
